package com.gomyb.admin.module.user.service;

import com.gomyb.admin.module.user.model.SysRole;
import com.gomyb.common.base.BaseService;

import java.util.List;

/**
 * @author <a href="mailto:hellohesir@gmail.com">Mr_He</a>
 * 2019-04-01 16:59:05
 */
public interface SysRoleService extends BaseService<SysRole, Long> {

    /**
     * 获得用户角色
     */
    List<SysRole> findRolesByUserName(String userName);
}
